﻿using System;
using System.Collections.Generic;
using System.Text;
using FireBillBook.Core.Entities;
using FireBillBook.Core.Models.OriginalDatas;
using CsvHelper;
using System.Threading.Tasks;
using System.IO;

namespace FireBillBook.Core.Services
{
    public interface IPlatformService
    {
        Task<List<BillingSourceData>> ConvertOriginalDatas(CsvReader reader);

        /// <summary>
        /// 清洗数据
        /// </summary>
        /// <param name="rawStream">原数据流</param>
        /// <returns></returns>
        Stream CleanData(Stream rawStream, Encoding defaultEncoding);
    }
}
